//package com.lyf.filter;
//
//import org.springframework.cloud.gateway.filter.GatewayFilterChain;
//import org.springframework.cloud.gateway.filter.GlobalFilter;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.core.Ordered;
//import org.springframework.web.server.ServerWebExchange;
//import reactor.core.publisher.Mono;
//
///**
// * @AUTHOR LYF
// * @DATE 2022/2/6
// * @VERSION 1.0
// * @DESC
// */
//@Configuration
//public class MyLogFilterConfig implements GlobalFilter, Ordered {
//    @Override
//    public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
//
//        exchange.getRequest().getQueryParams().getFirst("");
//
//
//        return chain.filter(exchange);//进行下一跳链
//    }
//
//    @Override
//    public int getOrder() {
//        return 0;//优先级，越小优先级越高
//    }
//}
